package aconcagua.measure

class IndeterminateOperationException extends Exception {
	private operation;
	private leftOperand;
	private rightOperand;
	
	public IndeterminateOperationException(anOperation, aLeftOperand, aRightOperand) {
		super("The ${anOperation} operation is indeterminate between ${aLeftOperand} and ${aRightOperand}");
		operation = anOperation;
		leftOperand = aLeftOperand;
		rightOperand = aRightOperand;
	}
	
	public operation() {
		return operation;
	}
	
	public leftOperand() {
		return leftOperand;
	}
	
	public rightOperand() {
		return rightOperand;
	}
}
